<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>卖家列表显示</title>
<link rel="stylesheet" href="../../layui/css/layui.css" media="all">
<style type="text/css">
.layui-form-item .layui-input-inline {
	width: 140px;
}

body .layui-form-item {
	margin-bottom: 0px;
	position: relative;
	top: 6px;
	left: 6px;
}

body .layui-input {
	height: 30px;
	padding-left: 4px;
}

body .layui-form-mid {
	position: relative;
	top: -4px;
}
</style>
</head>
<body style="margin: 10px 10px">
	<form id="formOne" name="formOne">
		<div
			style="border: 1px solid #e2e2e2; border-left: 5px solid #e2e2e2; width: 1058px;height:44px;">
			<div class="layui-form-item">
				<div class="layui-inline">
					<div class="layui-input-inline" style="width: 192px;">
						<input type="text" id="usersName" name="usersName" autocomplete="off"
							class="layui-input" placeholder="用户名称" maxlength="32">
					</div>
					<div class="layui-input-inline" style="width: 192px;">
						<input type="text" id="businessName" name="businessName" autocomplete="off"
							class="layui-input" placeholder="商家名称" maxlength="32">
					</div>
					<a class="layui-btn layui-btn-xs" id="search"
						style="height: 30px; line-height: 30px;"><i class="layui-icon">&#xe615;</i>搜索</a>
					<a class="layui-btn layui-btn-xs" lay-event="add" style="height: 30px; line-height: 30px;" id="add"><i class="layui-icon">&#xe654;</i>添加</a>
				</div>
			</div>

		</div>
	</form>


	<table class="layui-hide" id="seller" lay-filter="demo"
		style="margin: 0px;"></table>

	<script type="text/html" id="barDemo">
  		<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del"><i class="layui-icon">&#xe640;</i>删除</a>
		<a class="layui-btn layui-btn-xs" lay-event="edit"><i class="layui-icon">&#xe642;</i>编辑</a>
	</script>
	<script type="text/html" id="usersImage">
		{{# if(d.usersImage!=null && d.usersImage!=''){ }}
			<img src="../../{{d.usersImage }}" width="40px;" height="40px;">
		{{# }else{ }}
			<p class="layui-btn layui-btn-danger layui-btn-xs">无</p>
		{{#  } }}
	</script>
	<script type="text/html" id="usersTypes">
  {{# if(d.usersType == '1'){ }}
	<p class="layui-btn layui-btn-danger layui-btn-xs">买家</p>
  {{# }else if(d.usersType == '2'){ }}
	<p class="layui-btn layui-btn-warm layui-btn-xs">商家/卖家</p>
  {{#  }else if(d.usersType == '3'){ }}
	<p class="layui-btn layui-btn-warm layui-btn-xs">管理员</p>
  {{#  } }}
</script>

	<script type="text/javascript" src="../../res/js/base.js"></script>
	<script src="../../layui/layui.js"></script>
	<!-- <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.js"></script> -->
	<script type="text/javascript" src="../../res/js/backstage/seller.js"></script>
</body>
</html>